import { http } from '@/utils'

/** POST 请求测试 */
export const indexNews: any = (type: string) => {
  // https://pcc.uestcedu.com/rest/ajax/portal/por_article/list?page_number=1&page_size=5&category_key=news&content=0
  return http.get('/rest/ajax/portal/por_article/list?page_number=1&content=0', {
    query: {
      category_key: type,
      page_size: 8,
    },
  })
}
